﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <script src="../js/jquery-1.4.3.min.js" type="text/javascript"></script>
    <script src="NameSpace.js" type="text/javascript"></script>
    <script type="text/javascript">
        alert("Microsoft is undefine: " + !Microsoft);
        alert("Microsoft.Coral is undefine: " + !Microsoft.Coral);

        var Microsoft = Microsoft || {};
        Microsoft.Coral = Microsoft.Coral || {};
        Microsoft.Coral.FrontEnd = Microsoft.Coral.FrontEnd || {};
        Microsoft.Coral.FrontEnd.UI = Microsoft.Coral.FrontEnd.UI || {};

//        var ScrollBar = {};
//        ScrollBar.prototype = Microsoft.Coral.FrontEnd.UI.ScrollBar;

//        var scrollbar = new ScrollBar();
//        alert(scrollbar.name);
//        scrollbar.scroll();

        alert(Microsoft.Coral.FrontEnd.UI.ScrollBar.name);
        Microsoft.Coral.FrontEnd.UI.ScrollBar.scroll();
    </script>
</head>
<body>

</body>
</html>
